//
//  UserLoginController.h
//  lcb
//
//  Created by lcb on 2017/5/26.
//  Copyright © 2017年 lcb. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LcbLoginDelegate.h"
@interface UserLoginController : UINavigationController
+ (instancetype)new __attribute__
((unavailable("[+new] is not allowed, use [+newWithLoginDelegate:]")));

- (instancetype) init __attribute__
((unavailable("[-init] is not allowed, use [+newWithLoginDelegate:]")));

- (id)initWithCoder:(NSCoder *)aDecoder __attribute__
((unavailable("[-initWithCoder:] is not allowed, use [+newWithLoginDelegate:]")));

- (instancetype)initWithNavigationBarClass:(Class)navigationBarClass toolbarClass:(Class)toolbarClass __attribute__
((unavailable("[-initWithNavigationBarClass:toolbarClass:] is not allowed, use [+newWithLoginDelegate:]")));

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil __attribute__
((unavailable("[-initWithNibName:bundle:] is not allowed, use [+newWithLoginDelegate:]")));

- (instancetype)initWithRootViewController:(UIViewController *)rootViewController __attribute__
((unavailable("[-initWithRootViewController:] is not allowed, use [+newWithLoginDelegate:]")));

+ (instancetype)newWithLoginDelegate:(id<LcbLoginDelegate>)delegate;
+ (instancetype)newWithGestureDelegate:(id<LcbLoginDelegate>)delegate;
@end
